.page-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.page-body {
  padding: 240rpx 0 120rpx;
  box-sizing: border-box;
}

.header-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 12rpx 34rpx rgba(229, 77, 66, 0.08);
}

.header {
  position: relative;
  padding: 24rpx 32rpx 18rpx;
  background: #ffffff;
  border-bottom-left-radius: 32rpx;
  border-bottom-right-radius: 32rpx;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24rpx;
}

.header-time {
  font-size: 28rpx;
  font-weight: 600;
  color: #1f1f1f;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 16rpx;
}

.status-dot {
  width: 36rpx;
  height: 16rpx;
  border-radius: 999rpx;
  background: #1f1f1f;
  position: relative;
}

.status-text {
  font-size: 24rpx;
  color: #4a4a4a;
}

.battery {
  width: 60rpx;
  height: 28rpx;
  border-radius: 10rpx;
  border: 2rpx solid #1f1f1f;
  display: flex;
  align-items: center;
  padding: 0 4rpx;
}

.battery::after {
  content: '';
  width: 4rpx;
  height: 18rpx;
  background: #1f1f1f;
  border-radius: 2rpx;
  margin-left: 4rpx;
}

.battery-level {
  flex: 1;
  height: 18rpx;
  border-radius: 6rpx;
  background: #00c853;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 20rpx;
}

.search-box {
  flex: 1;
  height: 68rpx;
  border-radius: 34rpx;
  background: #f5f6f7;
  display: flex;
  align-items: center;
  padding: 0 24rpx;
  gap: 16rpx;
}

.search-icon {
  font-size: 28rpx;
}

.search-input {
  flex: 1;
  font-size: 26rpx;
  color: #1f1f1f;
}

.search-placeholder {
  color: #a0a7b3;
  font-size: 26rpx;
}

.checkin-btn {
  height: 68rpx;
  padding: 0 28rpx;
  border-radius: 24rpx;
  background: rgba(229, 77, 66, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e54d42;
  font-size: 26rpx;
  font-weight: 600;
}

.tab-bar {
  margin-top: 28rpx;
  white-space: nowrap;
}

.tab-list {
  display: flex;
  gap: 32rpx;
}

.tab-item {
  position: relative;
  padding-bottom: 24rpx;
  color: #646a73;
  font-size: 30rpx;
  font-weight: 500;
}

.tab-item.active {
  color: #e54d42;
}

.tab-active-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rpx;
  border-radius: 999rpx;
  background: #e54d42;
}

.content-scroll {
  width: 100%;
  box-sizing: border-box;
  padding: 12rpx 0 0 0rpx;
  background: transparent;
  box-sizing: border-box;
}

.scroll-inner {
  display: flex;
  flex-direction: column;
  gap: 32rpx;
  padding: 0 32rpx 24rpx;
  box-sizing: border-box;
}

.post-section {
  display: flex;
  flex-direction: column;
  gap: 28rpx;
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 34rpx;
  font-weight: 600;
  color: #1f1f1f;
  position: relative;
  padding-left: 20rpx;
  margin-bottom: 24rpx;
}

.section-title::before {
  content: '';
  width: 8rpx;
  height: 32rpx;
  border-radius: 6rpx;
  background: #e54d42;
  position: absolute;
  left: 0;
  top: 8rpx;
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 24rpx;
}

.hot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24rpx;
  padding: 20rpx 24rpx;
  // box-shadow: 0 10rpx 30rpx rgba(229, 77, 66, 0.08);
}

.hot-left {
  display: flex;
  align-items: flex-start;
  gap: 20rpx;
  flex: 1;
}

.hot-rank {
  width: 44rpx;
  height: 44rpx;
  border-radius: 12rpx;
  background: #f0f2f5;
  color: #646a73;
  font-size: 26rpx;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hot-rank.top {
  background: rgba(229, 77, 66, 0.12);
  color: #e54d42;
}

.hot-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8rpx;
}

.hot-title {
  font-size: 28rpx;
  color: #1f1f1f;
  line-height: 1.5;
}

.hot-meta {
  font-size: 24rpx;
  color: #a0a7b3;
}

.hot-tag {
  padding: 10rpx 20rpx;
  border-radius: 999rpx;
  background: rgba(229, 77, 66, 0.08);
  color: #e54d42;
  font-size: 22rpx;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24rpx;
  padding: 32rpx 28rpx;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 22rpx 46rpx rgba(229, 77, 66, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-deco {
  position: absolute;
  top: -80rpx;
  right: -60rpx;
  width: 220rpx;
  height: 220rpx;
  background: radial-gradient(circle, rgba(229, 77, 66, 0.28) 0%, rgba(229, 77, 66, 0) 70%);
  opacity: 0.6;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 20rpx;
}

.post-avatar {
  width: 68rpx;
  height: 68rpx;
  border-radius: 50%;
}

.post-author {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6rpx;
}

.post-name {
  font-size: 28rpx;
  font-weight: 600;
  color: #1f1f1f;
}

.post-time {
  font-size: 24rpx;
  color: #a0a7b3;
}

.post-tag {
  padding: 10rpx 18rpx;
  border-radius: 999rpx;
  background: rgba(229, 77, 66, 0.08);
  color: #e54d42;
  font-size: 22rpx;
}

.post-title {
  font-size: 32rpx;
  font-weight: 600;
  color: #1f1f1f;
  line-height: 1.5;
}

.post-content {
  font-size: 26rpx;
  color: #4f5a67;
  line-height: 1.7;
}

.post-cover {
  width: 100%;
  height: 220rpx;
  border-radius: 24rpx;
  overflow: hidden;
}

.post-cover image {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.post-footer {
  display: flex;
  align-items: center;
  gap: 48rpx;
  padding-top: 16rpx;
  border-top: 1rpx solid rgba(229, 77, 66, 0.12);
}

.post-action {
  display: flex;
  align-items: center;
  gap: 12rpx;
  color: #a0a7b3;
  font-size: 24rpx;
}

.action-icon {
  font-size: 28rpx;
}

.action-text {
  font-size: 24rpx;
}

.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16rpx;
  padding: 12rpx 0 24rpx;
  color: #a0a7b3;
  font-size: 24rpx;
}

.load-more-spinner {
  width: 32rpx;
  height: 32rpx;
  border: 4rpx solid rgba(229, 77, 66, 0.18);
  border-top-color: #e54d42;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.load-more-text {
  line-height: 1;
}

.custom-refresher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16rpx;
  height: 140rpx;
  color: #e54d42;
}

.custom-refresher-spinner {
  width: 44rpx;
  height: 44rpx;
  border-radius: 50%;
  border: 6rpx solid rgba(229, 77, 66, 0.18);
  border-top-color: #e54d42;
  animation: spin 0.9s linear infinite;
  animation-play-state: paused;
}

.custom-refresher-spinner.active {
  animation-play-state: running;
}

.custom-refresher-text {
  font-size: 26rpx;
  font-weight: 500;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
